{% load i18n %}{% load account_tags %}
{% user_display user as user_display %}
{% url profile_detail username=user.username as user_url %}
{% if group %}
{% blocktrans with task.get_absolute_url as task_url and group.get_absolute_url as group_url %}<a href="{{ user_url }}">{{ user_display }}</a> has commented on task '<a href="{{ task_url }}">{{ task }}</a>' in '<a href="{{ group_url }}">{{ group }}</a>'.{% endblocktrans %}
{% else %}
{% blocktrans with task.get_absolute_url as task_url and group.get_absolute_url as group_url %}<a href="{{ user_url }}">{{ user_display }}</a> has commented on task '<a href="{{ task_url }}">{{ task }}</a>'.{% endblocktrans %}
{% endif %}
